home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-03
/
qbasicpg.zip
/
RUNDOS.BAS
< prev
next >
Wrap
BASIC Source File
|
1989-08-31
|
452b
|
19 lines
' RUNDOS.BAS
' This program executes a DOS command.
CLS
COLOR 3 ' set color to cyan
' get DOS command line from user
INPUT "Enter a DOS command line [press Enter to run DOS]: ", dosCom$
PRINT
SHELL dosCom$ ' exit to DOS and execute the command
PRINT
PRINT "DOS command complete"
COLOR 7 ' set color to default white